Skip to content

Conversation

VictorGaiva
Copy link

@VictorGaiva VictorGaiva commented Jan 30, 2024

Description

Allows a user pass a row and column labels with types different from string, which makes RowIndicator or ColumnIndicator components required, with the matching typing signature.

You can pass a different type for the label
image

But you don't pass the component, the typecheck fails
image

But if the passed labels extends string, it doesn't fail anymore
image

Motiviation

While passing a label with types other than 'string', and using a custom RowIndicator component to manually render the content of the label, it was not correctly typechecking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant